home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Steal This CD
/
steal_this_cd.iso
/
Chapter 07 - Where the Hackers Are
/
virc200.exe
/
{app}
/
Scripts
/
eventmasks.ini
< prev
next >
Wrap
INI File
|
2003-09-29
|
6KB
|
173 lines
; ViRC 2.0 event mask template file
[Tokens]
; Count = the number of tokens in this section
; Name = the name of the token, as used in the recipe inside {curly} brackets
; Desc = the prompt that appears when asking for this token's value
; Default = the value that will be used if the user leaves a token value blank
;
; "source" is a special token name: If the user enters a pattern that doesn't
; contain ! @ % or *, ViRC will treat it as a nickname and append "!%" to the
; end of it. ViRC will also prepend ":" if the pattern doesn't start
; with : % * or ?.
;
; Any other [Tokens:*] sections found in this file will automatically be merged
; with this one (but they won't override tokens that are already defined). This
; is so you can quickly paste in templates found online or in other scripts.
Count=17
Name1=source
Desc1=Source pattern (nick!user@host, nick, or ENTER to match everyone)
Default1=%
Name2=target
Desc2=Target pattern (nick, channel, @#channel, or ENTER to match all targets)
Default2=%
Name3=channel
Desc3=Channel pattern (or ENTER to match all channels)
Default3=*
Name4=message
Desc4=Message pattern (or ENTER to match all messages)
Default4=*
Name5=nick/chan
Desc5=Nick/channel patern (or ENTER to match all nicks/channels)
Default5=%
Name6=topic
Desc6=Topic pattern (or ENTER to match all topics)
Default6=*
Name7=#channel
Desc7=Channel pattern (or ENTER to match all #channels)
Default7=#%
Name8=errno
Desc8=Error number (or ENTER to match all errors)
Default8=%
Name9=modes
Desc9=Mode change pattern (or ENTER to match all mode changes)
Default9=*
Name10=nick
Desc10=Nickname pattern (or ENTER to match all nicknames)
Default10=%
Name11=class
Desc11=Class name pattern (or ENTER to match all classes)
Default11=%
Name12=window
Desc12=Window name pattern (or ENTER to match all windows)
Default12=%
Name13=dcckind
Desc13=DCC kind (chat, send, tsend, get, tget) or ENTER to match all kinds
Default13=%
Name14=dccid
Desc14=Transfer ID pattern (or ENTER to match all)
Default14=%
Name15=uhost
Desc15=User@Host pattern (or ENTER to match all)
Default15=%
Name16=dccreqkind
Desc16=DCC request kind (chat, send, tsend) or ENTER to match all requests
Default16=%
Name17=filename
Desc17=Filename pattern (or ENTER to match all filenames)
Default17=*
[Templates]
; Count = the number of templates in this section
; Name = the caption to show in the popup menu
; Recipe = instructions for the event mask wizard to generate a mask (see below)
; Submenu = the partial name of a section to show as a submenu under this item
;
; The same template can't have both a Recipe and a Submenu. If the Submenu is "x",
; the parser will look under section [Templates:x].
;
; Recipes can contain token names inside {curly} brackets, and the user will be
; prompted to enter a value for each one. They can also contain optional sections
; inside [square] brackets, and the optional section will only be included in the
; mask if the user gives a value for at at least one of the {tokens} inside it.
; Optional sections can be nested.
;
; {source} is a special token as described earlier. You should use {source} at
; the beginning of most IRC event templates.
;
; If a recipe starts with a word in angle brackets like <OnConnect>, it will be
; used as the event's name after prompting the user for an identifier. The
; identifier will be inserted before the > and prepended with a _, so the final
; event name looks like <OnConnect_foo>.
;
; To add a horizontal separator line to the menu, set Name to "-" and leave out
; both Submenu and Recipe.
;
; Any extra [Templates:*] sections found in this file will be added to the end of
; the popup menu as submenus, if they aren't referenced in any Submenu lines.
; This is so you can quickly paste in templates found online or in other scripts.
Count=9
Name1=Join
Recipe1={source} JOIN[ {channel}]
Name2=Part
Recipe2={source} PART[ {channel}[ :{message}]]
Name3=Quit
Recipe3={source} QUIT[ :{message}]
Name4=Mode
Recipe4={source} MODE[ {nick/chan}[ {modes}]]
Name5=Topic
Recipe5={source} TOPIC[ {channel}[ :{topic}]]
Name6=Channel Msg
Recipe6={source} PRIVMSG {#channel}[ :{message}]
Name7=Any Msg
Recipe7={source} PRIVMSG[ {target}[ :{message}]]
Name8=-
Name9=Visual IRC
Submenu9=Visual IRC
[Templates:Visual IRC]
Count=13
Name1=Start
Recipe1=<OnStart>
Name2=Exit
Recipe2=<OnExit>
Name3=Connect
Recipe3=<OnConnect>
Name4=Disconnect
Recipe4=<OnDisconnect>
Name5=Error Connecting
Recipe5=<OnErrorConnecting> [{errno}[ {message}]]
Name6=Notify Join
Recipe6=<OnNotifyJoin> [{nick}]
Name7=Notify Quit
Recipe7=<OnNotifyQuit> [{nick}]
Name8=Minimize to Tray
Recipe8=<OnMinimizeToTray>
Name9=Restore from Tray
Recipe9=<OnRestoreFromTray>
Name10=Hilite Window
Recipe10=<OnHiliteWindow> [{class}[ {window}]]
Name11=-
Name12=DCC
Submenu12=DCC
Name13=Advanced
Submenu13=Advanced
[Templates:DCC]
Count=5
Name1=DCC Finished
Recipe1=<OnDCCFinished> [{dcckind}[ {dccid} {errno} {message}]]
Name2=DCC Request
Recipe2=<OnDCCRequest> [{nick}[ {uhost} {dccreqkind}[ % % % {filename}]]]
Name3=DCC Connect
Recipe3=<OnDCCConnect> [{dcckind}[ {dccid}]]
Name4=New DCC Chat Text
Recipe4=<OnNewDCCChatText> [{nick}[ {window} {message}]]
Name5=DCC Chat Closed
Recipe5=<OnDCCChatClosed> [{nick}[ {window}]]
[Templates:Advanced]
Count=5
Name1=Socket Open
Recipe1=<OnSocketOpen>
Name2=Create Window
Recipe2=<OnCreateWindow> [{class}[ {window}]]
Name3=Destroy Window
Recipe3=<OnCreateWindow> [{class}[ {window}]]
Name4=User Setup OK
Recipe4=<OnUserSetupOK>
Name5=User Setup Cancel
Recipe5=<OnUserSetupCancel>